#__author__ = 'bruce.li'
# coding:utf-8

from common.readelement import Element
from page_object.webpage import WebPage

view = Element('jzsz/enterprise/shared_employment')

class ShareViewContactPage(WebPage):

    def to_sharedemployment(self):
        self.is_click(view["共享用工"])

    def richperson_tab(self):
        self.is_click(view["富余人员查看TAB"])

    def needpost_tab(self):
        self.is_click(view["缺工岗位查看TAB"])

    def choose_post(self):
        self.is_click(view["第一个岗位"])

    def view_contact(self):
        self.is_click(view["查看联系方式"])

    def confirm(self):
        self.is_click(view["确认"])

    def t0_back(self):
        self.back()

    def confirm_result(self):
        self.is_exists(view["查看联系方式不可点击"])


